Ask noinput "Do you want to save this ?" "" "Yes" "No" "Cancel" Switch theValue Case 1 SendCmd ":x\13" EndCase Case 2 SendCmd ":q!\13" EndCase EndSwitch